package com.yz.jdd.base.entity;
/**
 * 支付相关：下单菜品参数
 */

import java.io.Serializable;

/**
 * @author Created by hjh on 18-4-10.
 */
public class OrderGoodsParam implements Serializable {


    /**
     * 纪录唯一主键;点餐订单-编辑 使用
     */
    private String orderGoodsId;

    private String goodsId;
    //商品名称
    private String goodsName;
    //商品数量
    private String quantity;
    //商品单价
    private String goodsPrice;
    //商品规格
    private String specId;
    private String specName;
    //商品属性
    private String specPropertyId;

    private String specPropertyName;

    public boolean isHasGoodsVoucher() {
        return hasGoodsVoucher;
    }

    public void setHasGoodsVoucher(boolean hasGoodsVoucher) {
        this.hasGoodsVoucher = hasGoodsVoucher;
    }

    //是否存在单品券
    private boolean hasGoodsVoucher;

    /**
     * 子订单id(用户pos点餐后付款)
     */
    private String subOrderBatchNo;

    /** 是否参加全场折扣:Y 参加; N 不参加 */
    private String joinFullDiscount;

    public String getOrderGoodsId() {
        return orderGoodsId;
    }

    public void setOrderGoodsId(String orderGoodsId) {
        this.orderGoodsId = orderGoodsId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getQuantity() {
        return quantity;
    }

    public void setQuantity(String quantity) {
        this.quantity = quantity;
    }

    public String getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(String goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getSpecId() {
        return specId;
    }

    public void setSpecId(String specId) {
        this.specId = specId;
    }

    public String getSpecName() {
        return specName;
    }

    public void setSpecName(String specName) {
        this.specName = specName;
    }

    public String getSpecPropertyId() {
        return specPropertyId;
    }

    public void setSpecPropertyId(String specPropertyId) {
        this.specPropertyId = specPropertyId;
    }

    public String getSpecPropertyName() {
        return specPropertyName;
    }

    public void setSpecPropertyName(String specPropertyName) {
        this.specPropertyName = specPropertyName;
    }



    public String getSubOrderBatchNo() {
        return subOrderBatchNo;
    }

    public void setSubOrderBatchNo(String subOrderBatchNo) {
        this.subOrderBatchNo = subOrderBatchNo;
    }

    public String getJoinFullDiscount() {
        return joinFullDiscount;
    }

    public void setJoinFullDiscount(String joinFullDiscount) {
        this.joinFullDiscount = joinFullDiscount;
    }

    @Override
    public String toString() {
        return "OrderGoodsParam{" +
                "orderGoodsId='" + orderGoodsId + '\'' +
                ", goodsId='" + goodsId + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", quantity='" + quantity + '\'' +
                ", goodsPrice='" + goodsPrice + '\'' +
                ", specId='" + specId + '\'' +
                ", specName='" + specName + '\'' +
                ", specPropertyId='" + specPropertyId + '\'' +
                ", specPropertyName='" + specPropertyName + '\'' +
                ", hasGoodsVoucher=" + hasGoodsVoucher +
                ", subOrderBatchNo='" + subOrderBatchNo + '\'' +
                ", joinFullDiscount='" + joinFullDiscount + '\'' +
                '}';
    }
}
